﻿<?php
require("conexao.php");
$acao = $_GET["acao"];
$id = $_GET["id"];


$sql = "select * from configuracao";
$resultado = mysql_query ($sql);
$linha = mysql_fetch_array($resultado);

$nome = $linha["nome_empresa"];
$endereco = $linha["endereco"];
$bairro = $linha["bairro"];
$cidade = $linha["cidade"];
$cep = $linha["cep"];
$uf = $linha["uf"];
$cnpj = $linha["cnpj"];
$titulo = $linha["titulo_site"];
$link_site = $linha["link_site"];
$email = $linha["email_site"];
$fone = $linha["fone"];


?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {
	font-size: 18px;
	font-weight: bold;
}
-->
</style>
</head>

<body>

<table width="380" border="0" align="center" >
  <tr class="yellow">
    <td width="423"><p align="center" class="style1">Configurações Gerais</p>
      <table width="100%" border="1">
      
      <tr>
        <td width="26%">Nome:</td>
        <td width="74%"><?php echo $nome; ?></td>
      </tr>
      <tr>
        <td>Endereço:</td>
        <td><?php echo $endereco; ?></td>
      </tr>
      <tr>
        <td>Bairro:</td>
        <td><?php echo $bairro; ?></td>
      </tr>
      <tr>
        <td>Cidade:</td>
        <td><?php echo $cidade; ?></td>
      </tr>
      <tr>
        <td>CEP:</td>
        <td><?php echo $cep; ?></td>
      </tr>
      <tr>
        <td>UF:</td>
        <td><?php echo $uf; ?></td>
      </tr>
      <tr>
        <td>CNPJ:</td>
        <td><?php echo $cnpj; ?></td>
      </tr>
      <tr>
        <td>Titulo do Site:</td>
        <td><?php echo $titulo; ?></td>
      </tr>
      <tr>
        <td>Link do Site:</td>
        <td><?php echo $link_site; ?></td>
      </tr>
      <tr>
        <td>Email do Site:</td>
        <td><?php echo $email; ?></td>
      </tr>
      <tr>
        <td>Fone:</td>
        <td><?php echo $fone; ?></td>
      </tr>
      <tr>
        <td colspan="2"><a href="principal.php?link=14&amp;acao=Alterar&amp"><div align="center">
          <input name="Alterar" type="button" value="Alterar" />
        </div></a></td>
        </tr>
    </table></td>
  </tr>
</table>


</body>
</html>
